package com.cloud.mall.usr.service;

import com.cloud.mall.base.BaseResponse;
import com.cloud.mall.user.output.UmsMemberLevelOut;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Api(tags = "会员等级管理接口")
@RequestMapping("/memberLevel")
public interface UmsMemberLevelService {

    @ApiOperation("查询所有会员等级")
    @GetMapping("/list")
    BaseResponse<List<UmsMemberLevelOut>> list(@RequestParam("defaultStatus") Integer defaultStatus);


}
